home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / trisol26.zip / TRIANGLE.DOC < prev    next >
Text File  |  1993-03-03  |  21KB  |  471 lines

  1.  
  2.                            Triangle Solitaire
  3.  
  4.                                   v2.6
  5.  
  6.                                    by
  7.  
  8.                               Al Lawrence
  9.  
  10.                             Sunrise-80  BBS
  11.                          (404) 256-9525 (Data)
  12.                          (404) 705-9104 (Data)
  13.                 (404) 256-9518 (Voice, 9am-9:30pm EST)
  14.  
  15.  
  16.  
  17.  
  18.  
  19.                                 OVERVIEW
  20.                                 ________
  21.  
  22.  
  23.    The object of the game is to remove all the cards from the pyramid in
  24.    pairs. The cards being removed must equal to 13 to be eligible for
  25.    removal.
  26.  
  27.  
  28.    NOTE: Most errors will be logged to a file called DFRAME.ERR which is
  29.          created in the directory you run the door from.
  30.  
  31.  
  32.  
  33.                               INSTALLATION
  34.                               ____________
  35.  
  36.  
  37.    Installation is fairly easy and straight-forward. The following steps and
  38.    examples should have you up and running in a very short period of time.
  39.    It is assumed that you are familiar with setting up DOORS on your system.
  40.    To this end, only examples of the configuration file and Door batch file
  41.    are described.
  42.  
  43.       1) Create a directory to hold all TRIANGLE file
  44.  
  45.       2) Unzip TRISOLxx.ZIP into the the above directory
  46.  
  47.       3) Create a configuration file, with a name of your choice, or
  48.          modify the supplied TRIANGLE.CFG file. A description follows:
  49.  
  50.             **                       Location of system file (See Below)
  51.             SUNRISE-80 BBS           Your BBS Name
  52.             Al                       Sysop's First name
  53.  
  54.             Lawrence                 Sysop's Last Name
  55.  
  56. |-----------------------------------------------------------------------------|
  57. | READ!     1                        CommPort  \ These 2 lines are required   |
  58. | READ!     1                        Node #    / ONLY for GTUSER.BBS          |
  59. |-----------------------------------------------------------------------------|
  60.  
  61.             00000000                 Registration Number
  62.  
  63.     !   #   1                        Maximum # of Games per day
  64.                                      (Sysop gets 99, Registered version ONLY)
  65.  
  66.         #   0                        Max # of days a caller can make up, during
  67.                                      calls in one day. 0=Disable Make-up Option
  68.                                      Maximum value = 27, Minimum value = 1
  69.  
  70.         #   NONE                     Drive:\Path\Filename to contain the
  71.                                      Top Score Bulletin or enter NONE
  72.                                      for NO Bulletin creation.
  73.  
  74.         #   NONE                     Drive:\Path\Filename to contain the
  75.                                      Top Score Bulletin (Color) or enter NONE
  76.                                      for NO Bulletin creation.
  77.  
  78.         #   NONE                     Drive:\Path\Filename to contain the
  79.                                      Hall of Fame Bulletin or enter NONE
  80.                                      for NO Bulletin creation.
  81.  
  82.         #   NONE                     Drive:\Path\Filename to contain the
  83.                                      Hall of Fame Bulletin (Color) or enter NONE
  84.                                      for NO Bulletin creation.
  85.  
  86.             2                        1 = DO NOT Display ADOPT-A-DOOR Message
  87.                                      2 = Display ADOPT-A-DOOR message
  88.  
  89.         #   2                        Keyboard timeout value in Minutes
  90.  
  91.     !   #   0                        Time  Allowed in Door
  92.                                      (Sysop = Time Remaining - REG. VERSION)
  93.  
  94.         #   N                        Automatic game reset at end of month:
  95.                                        Y = Yes enable autoreset
  96.                                        N = Keep accumulating scores
  97.  
  98.         #   Y                        Y = Allow Sysop to have 999 games
  99.                                      N = Do Not Allow Sysop 999 games
  100.  
  101.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  102.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  103.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  104.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  105.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  106.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  107.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  108.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  109.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  110.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  111.  
  112.     @   #   XXXX/YYYY                 Blackout Range  From/To
  113.     @   #   XXXX/YYYY                 Blackout Range  From/To
  114.     @   #   XXXX/YYYY                 Blackout Range  From/To
  115.     @   #   XXXX/YYYY                 Blackout Range  From/To
  116.     @   #   XXXX/YYYY                 Blackout Range  From/To
  117.  
  118.           ** = Replace with ONE of the following:
  119.  
  120. C:\PCB\PCBOARD.SYS              <- For PCBoard systems using PCBOARD.SYS only
  121. C:\BBS\CALLINFO.BBS             <- For Wildcat! systems (prior to v3.0)
  122. C:\BBS\USERINFO.DAT             <- For Wildcat! systems using v3.x
  123.                                    (Note:DOOR.SYS must be in SAME directory)
  124. C:\BBS\DOOR.SYS                 <- For ANY systems that support DOOR.SYS
  125. C:\BBS\DORINFOx.DEF             <- For ANY systems that support DORINFOx.DEF
  126. C:\BBS\SFDOORS.DAT              <- For Spitfire systems.
  127. c:\bbs\TRIBBS.SYS               <- For TriBBS systems.
  128. C:\BBS\CHAIN.TXT                <- For WWIV systems
  129. C:\BBS\GTUSER.BBS               <- For GT Power
  130.                                    * if using this option you must put the
  131.                                      ComPort # on line 5 and the Node # on
  132.                                      line 6 of the configuration file
  133.  
  134.  
  135.  
  136.  
  137.            # = Requires registration to change to a different value.
  138.            ! = See "Plays Per Day" Below
  139.            @ = See "Blackout Periods" Below
  140.  
  141.                NOTE: There are NO Blank Lines in the Config File!!
  142.  
  143.  
  144.  
  145.  
  146.       4) Create a batch file or modify the TRIANGLE file supplied. A
  147.          description of this file follows:
  148.  
  149.             ECHO off
  150.             cd\BBS\DOORS\TRIANGLE     Location of TRIANGLE files
  151.             TRIANGLE TRIANGLE.CFG     EXE filename and CFG filename (Name
  152.                                       used in creating file in #3 above)
  153.             CD\BBS
  154.             BOARD
  155.  
  156.  
  157.        5) When running in more than one node, be sure to supply a
  158.           different configuration name for each node (your choice of name).
  159.  
  160.        6) If running with Fossil-based multi-port boards add
  161.            /FD to the line containing the CFG name as follows:
  162.  
  163.                      TRIANGLE TRIANGLE.CFG /FD
  164.  
  165.  
  166.  
  167.  
  168.                MAKE-UP DAYS (Registered version only)
  169.                --------------------------------------
  170.  
  171. The Make-Up-Day feature allows the caller to make up any plays he/she missed
  172. during the current month and prior to the current call. You control whether
  173. to allow this option, as well as the number of days the caller can make up, on
  174. any prticular days worth of calls. Entering a 0 (zero) for this option, in the
  175. configuration file, turns the option OFF, any other value (up to a max of 27)
  176. turns the option ON and dictates the number of days the caller can make up.
  177.  
  178.  
  179. NOTE:      The number of games per day is calculated as follows...
  180.  
  181.            Games Allowed per day x Number of makeup days.
  182.  
  183. Example:   Games Allowed per day = 2
  184.            Max # of makeup days  = 4
  185.  
  186. If a caller logs in on 5/8/92 and this is their first call of the month, they
  187. would have a potential of 16 games to makeup and bring them current
  188. (8 days (5/8/92) * 2 (games per day)). However, since the maximum # of Makeup
  189. Days is set at 4, the maximum # of games the caller can play on 5/8/92, is 8
  190. (games allowed * max # of makeup days).
  191.  
  192.  
  193.  
  194.              HALL OF FAME BULLETINS (Registered version only)
  195.              ------------------------------------------------
  196.  
  197. The program will automatically reset the game when the first caller of the
  198. month plays the game. The score file will be cleared and a set of Hall of Fame
  199. bulletin files will be created. The files will be called SUNHOF.ASC and
  200. SUNHOF.ANS (ASCII and ANSI versions).
  201.  
  202. WARNING: The HOF files are cumulative files. That means they are read in each
  203.          month and updated. DO NOT DELETE EITHER FILE!!!! or you will lose
  204.          the record of prior months winners!!!!
  205.  
  206.  
  207.                           BLACKOUT PERIODS
  208.                           ________________
  209.  
  210.       Use the Blackout ranges option to define up to 5 time periods during
  211.       which you DO NOT want the Door to be played. If a caller tries to access
  212.       the Door during the Blackout period, they will be shown a message that
  213.       contains ALL the Blackout periods you have defined, and to try the Door
  214.       at a later time.
  215.  
  216.       Each of the 5 Blackout ranges takes the form of XXXX/YYYY, where
  217.       XXXX=beginning time and YYYY=the ending time. For example, 0930/1230
  218.       means to NOT allow the Door to be played between 9:30am and 12:30pm.
  219.  
  220.       IMPORTANT: - All times must be 4 digits & must follow the XXXX/YYYY format
  221.                  - DO NOT change the XXXX/YYYY entry UNLESS you want to assign
  222.                    a Blackout range.
  223.                  - You MUST use the MILITARY time format. Example: 2030=8:30pm
  224.                    0900=9am, 0030=12:30am, 1700=5pm, etc.
  225.  
  226.  
  227.  
  228.                           PLAYS Per DAY/DOOR Time
  229.                           _______________________
  230.  
  231.       Plays Per Day and Door Time can be controlled several ways:
  232.  
  233.       (1) You can use the Games Per Day, singular option, in the config
  234.           file above. This option, will affect ALL callers whose Security
  235.           Level is NOT defined in any of the 10 optional Security Level/
  236.           Plays Per Day entries in the config file.
  237.  
  238.       (2) You can use the Door Time, singular option, in the config file
  239.           above. This option, will affect ALL callers whose Security
  240.           Level is NOT defined in any of the 10 optional Security Level/
  241.           Plays Per Day/Door Time entries in the config file.
  242.  
  243.       (3) You can restrict the number of games a specific Security Level
  244.           will be allowed to play per day or REWARD specific Levels with
  245.           more Plays Per Day.
  246.  
  247.           Likewise, you can restrict the Play time for a specific Security
  248.           Level or REWARD specific Levels with more Door Time.
  249.  
  250.           These options are handled by the use of the 10 config
  251.           entries (000=00/00).
  252.  
  253.           The format of each entry is as follows:
  254.  
  255.           XXX=YY/ZZ  where XXX is the Security Level (must be 3 digits)
  256.                      where =  is a constant and MUST be included
  257.                      where YY is the # of games per day (must be 2 digits)
  258.                      where / is a constant and MUST be included
  259.                      where ZZ is num. minutes per Door entry (must be 2 digits)
  260.  
  261.           If the callers Security Level is NOT defined, his/her Plays Per
  262.           Day and Door Time will be controlled by the values in items
  263.           (1) and (2), above, respectively..
  264.  
  265.           You may define up to 10 Security Levels. All unused entries must
  266.           be defined as   000=00/00
  267.         --------------------------------------------------------------------
  268.           Example: Suppose you had 3 Security Levels defined on your BBS as
  269.           (20=Subscriber, 30=Visiting Sysop, 40=CoSysop, 90=Friend) and you
  270.           wanted to set Plays Per Day as :     Subscriber=5
  271.                                            Visiting Sysop=2
  272.                                                   CoSysop=3
  273.                                                    Friend=10
  274.  
  275.           and Door Time as follows:     Subscriber=30 minutes
  276.                                     Visiting Sysop=20 minutes
  277.                                            CoSysop=10 minutes
  278.                                             Friend=remaining call time
  279.  
  280.  
  281.           You would set the Individual "Games per Day" config entry to 1 and
  282.           the individual "Door Time" to 5 minutes (these would be the
  283.           default number of games and default Time for all Security Levels
  284.           other than 20,30 or 40... make them any number you want). Next you
  285.           would replace 4 of the Security Level entries as :  020=05/30
  286.                                                               030=02/20
  287.                                                               040=03/10
  288.                                                               090=10/0
  289.  
  290.  
  291.  
  292.                         NON-STANDARD COM SUPPORT
  293.                         ________________________
  294.  
  295.       Support for COM 1-4 on the standard IRQ's - COM1/COM3 = IRQ4 and
  296.       COM2/COM4 = IRQ3. If you wish to use a non-standard IRQ, add the IRQ
  297.       number after the configuration filename. Let's assume your Door is
  298.       called FOOBAR and you want to use COM1 and IRQ5. The command line
  299.       passed to your Door would be:
  300.  
  301.                             FOOBAR FOOBAR.CFG /5
  302.  
  303.       The /5 tells FOOBAR to use IRQ5 rather than the standard IRQ4 that is
  304.       normally used with COM1. No /x parameter is needed for the standard
  305.       IRQ's.
  306.  
  307.       As an alternative, you may use an environmental variable on the command
  308.       line. To use the variable (following the example above), place a
  309.       SET IRQ=5 in the batch file used to bring up your BBS (you would need a
  310.       different IRQ number for each node). The command line would now look
  311.       like this:
  312.  
  313.                           FOOBAR FOOBAR.CFG /%IRQ%
  314.  
  315.       This, in combination with the use of the environmental variables
  316.       described in the MULTI-NODE SETUP section will allow you to use one
  317.       batch file and one config file to run this door on all nodes.
  318.  
  319.  
  320.  
  321.  
  322.                            MULTI-NODE SETUP
  323.                            ________________
  324.  
  325.       All Sunrise Doors are Multi-Node capable. Each node must have the
  326.       ability to access a configuration file which will have its own system
  327.       file (DORINFOx.DEF, PCBOARD.SYS, DOOR.SYS, etc) defined on the first
  328.       line. There are 2 ways to accomplish this:
  329.  
  330.       (1) Create a separate configuration file for each node. The only
  331.           difference between each file would be the location of the system
  332.           file for that particular node. For example, on my system there are 2
  333.           nodes and the first line of the config files would look like this:
  334.  
  335.                         NODE1:  H:\PCB1\DOOR.SYS
  336.                         NODE2:  H:\PCB2\DOOR.SYS
  337.  
  338.           Thus, if you have a 4 node BBS, you will need 4 configuration files.
  339.  
  340.       (2) Use ONE configuration file for ALL nodes. This Door will recognize
  341.           the following PCBoard environmental variables:
  342.  
  343.                  PCBDIR    (Directory containing the System file)
  344.                  PCBDRIVE  (Drive containing the System file)
  345.  
  346.           Thus, the first line of the SINGLE configuration file, for this Door
  347.           would look like this:
  348.  
  349.                         %PCBDRIVE%%PCBDIR%\DOOR.SYS
  350.  
  351.       NOTE: This option, as described, assumes that you are running PCBoard
  352.             14.5a software. The environmental variables are automatically
  353.             created by the software for each node.
  354.  
  355.             HOWEVER, if you are running other BBS software you should be able
  356.             to set the variables EXACTLY as described below, for EACH node
  357.             (more than likely in each batch file you use to bring up EACH node):
  358.  
  359.                             PCBDRIVE=C:
  360.                             ^^^^^^^^^
  361.                             PCBDIR=\NODE2
  362.                             ^^^^^^^^
  363.  
  364.             Info with a carat (^) under it, MUST be typed as is. The rest
  365.             depends on your naming conventions.
  366.  
  367.             This, in combination with the use of the optional environmental
  368.             variable described in the NON-STANDARD COM SUPPORT section, will
  369.             allow you to use one batch file and one config file to run this
  370.             door on all nodes.
  371.  
  372.  
  373.  
  374.  
  375.                                ADOPT-A-DOOR
  376.                                ____________
  377.  
  378.     Having been a Sysop for a number of years, I have had my share of problems
  379.     and frustrations getting financial support for my board's upkeep. A fellow
  380.     Sysop left a message on my board, not long ago, about a concept that was
  381.     being used by several boards around the country.
  382.  
  383.     The concept, ADOPT-A-DOOR, allows a caller to register (ADOPT) a door. It
  384.     would be the same as sending in a donation, only this way it is earmarked
  385.     for registering a particular door. In a way, the user feels he/she is
  386.     "getting something in return". As a Door author I have decided to build
  387.     this concept into each of my Door programs. The concept replaces the
  388.     usual message "tell the Sysop to register this Door" we find in most
  389.     doors.
  390.  
  391.     If the Door is unregisterd then a message appears on the opening screen
  392.     to that effect. After finishing or suspending a game, a message screen
  393.     is displayed about the ADOPT-A-DOOR concept. The message also tells the
  394.     caller to contact the Sysop to find out if there is any further details
  395.     to the ADOPT-A-DOOR concept. Some Sysops give extra D/L time, online
  396.     time, etc to callers that ADOPT-A-DOOR.
  397.  
  398.     If the Door has been registered, either by the Sysop or other callers,
  399.     the names of those contributors will be displayed in the closing screen.
  400.  
  401.     NOTE: If you want to display the names of the callers that contributed
  402.           to registering the Door, you must create an ASCII file called
  403.           ADOPT.SYS. You create it with an Editor or Word Processor. Enter
  404.           the name(s) of the contributors (one on each line, maximum of 5
  405.           entries, each a maximum of 30 characters long). This file must be
  406.           saved, in ASCII format, and placed in the Door directory.
  407.  
  408.  
  409.  
  410.                               LEGALITIES
  411.                               __________
  412.  
  413.  
  414.       THIS SOFTWARE AND ACCOMPANYING MATERIALS ARE DISTRIBUTED "AS IS"
  415.       WITHOUT WARRANTY, EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
  416.       LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  417.       FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL ANYONE INVOLVED WITH
  418.       THE CREATION AND PRODUCTION OF THIS PRODUCT BE LIABLE FOR INDIRECT,
  419.       SPECIAL, OR CONSEQUENTIAL DAMAGES, ARISING OUT OF ANY USE THEREOF
  420.       OR BREACH OF ANY WARRANTY.
  421.  
  422.  
  423.  
  424.  
  425.  
  426.                              DISTRIBUTION
  427.                              ____________
  428.  
  429.    You may make this file available for downloading from your BBS or you may
  430.    upload it to any BBS of your choice, provided that you do not make any
  431.    changes to the contents of the archive (ZIP file). The archive and its
  432.    individual contents may not be used by any service that charges any money
  433.    whatsoever, without the written permission of the author.
  434.  
  435.  
  436.  
  437.  
  438.  
  439.                              REGISTRATION
  440.                              ____________
  441.  
  442.    Registration and the subsequent insertion of the registration number into
  443.    your configuation file, allows for the display of your BBS name on the
  444.    opening and closing screen as well as the reduction of a delay built into
  445.    the opening screen display along with the ability to change certain
  446.    values in the configuration file.
  447.  
  448.    To register your copy of TRIANGLE, please fill out the registration form
  449.    (REGISTER.FRM) and mail it along with the registration fee to
  450.    the name and address on the form.
  451.  
  452.    Be sure to use the proper upper/lower case when filling in your name and
  453.    BBS name, as they MUST match the way you entered them in the configuration
  454.    file.             ^^^^
  455.  
  456.    Based upon information supplied on the registration form, I will pre-
  457.    register you on my BBS. You will then be able to call SUNRISE-80 and pick
  458.    up your registration number.
  459.  
  460.  
  461.  
  462.                                  MISC
  463.                                  ____
  464.  
  465.    The latest version of TRIANGLE and other fine SUNRISE DOOR programs are
  466.    always available for download from SUNRISE-80 BBS.
  467.  
  468.    Remember, should you have any problems, questions or suggestions, be sure
  469.    to drop me a message on Sunrise-80 or in the RIME network (BBS_Doors,
  470.    PCBHints, SYSops), SMARTNET (SN_Sysops), FIDOnet 1:133/410
  471.